﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.LEDCorrective.Domain.LEDSender
{
    /// <summary>
    /// 日期
    /// </summary>
    /// <remarks>
    /// struct	_scp_date_t
    /// {
    /// 	int_32_t			year;      		/*年*/
    /// 	int_32_t			month;			/*月*/
    /// 	int_32_t			day;			/*日*/
    /// }PACKED;
    /// typedef	struct	_scp_date_t
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SCP_DATE_T
    {
        /// <summary>
        /// 年
        /// </summary>
        public Int32 year;

        /// <summary>
        /// 月
        /// </summary>
        public Int32 month;

        /// <summary>
        /// 日
        /// </summary>
        public Int32 day;
    }
}
